The HSM can be set to use either Ethernet interface 10 base-T or 100 base-TX.
There are a number of prompts for configuring the software:
· The message header length
· The character set (either ASCII or EBCIDIC)
· The availability of a UDP port
· The availability and number of TCP ports. The number of TCP/IP sockets available has a maximum of 64 but is reduced to 63 if UDP protocol is enabled.
· The Keep Alive timer, which enables TCP to periodically check whether the other end of a connection is still open. This enables the HSM to free resources by closing any unused connections.
· The IP address, which is the Internet Protocol address of the unit in the system. It is four decimal numbers, each not exceeding 25510.
· The Well-Known-Port address, which is the published TCP Port address of the HSM, in the range 0000010 to 6553510 representing an address in the range 000016 to FFFF16.
· The default gateway address, which is the Internet Protocol address of the default gateway in the system. It is four decimal numbers, each not exceeding 25510.
· The subnet mask, which is used to define the network class.
The addresses have no cold start defaults; if < Return > is entered after a prompt, the previously-configured address is used.
UDP and TCP configurations are given in the following examples.
Example 1: (Ethernet communication with UDP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274 [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: Y
Enable TCP? [Y/N]: N
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
After completing the procedure, reset the HSM by pressing the RESET button on the front panel. The new values do not take effect until this has been done.
To read the current configuration, use command QH:
Online> QH <Return>
Message header length: 04
Protocol: Ethernet
Character format: ASCII
IP address: 128.100.003.001
Well-Known-Port address: 01500
Transport: UDP
Default gateway address: 128.100.003.005
Subnet mask: 255.255.255.000
Example 2: (Ethernet communication with TCP/IP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274 [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: N
Enable TCP? [Y/N]: Y
Number of connections? [1 - 64]: 6
Enter TCP Keep_Alive timeout (1-120): 120
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
After completing the procedure, reset the HSM by pressing the RESET button on the front panel. The new values do not take effect until this has been done.
To read the current configuration, use command QH:
Online> QH <Return>
Message header length: 04
Protocol: Ethernet
Character format: ASCII
IP address: 128.100.003.001
Well-Known-Port address: 01500
Transport: TCP, 6 connections
TCP keep_alive value: 120 minutes
Default gateway address: 128.100.003.005
Subnet mask: 255.255.255.000
Example 3: (Ethernet communication with UDP and TCP/IP)
Offline> CH <Return>
Message header length (1-255): 4
Asynch, Ethernet, or SNA-SDLC 3274 [A/E/S]: E
EBCDIC/ASCII (E/A): A
Enter IP address: 128.100.3.1
Enter Well-Known-Port address: 01500
Enable UDP? [Y/N]: Y
Enable TCP? [Y/N]: Y
Number of connections [1 - 63]: 6
Enter TCP Keep_Alive timeout (1-120): 120
Enter default gateway address: 128.100.3.5
Enter subnet mask: 255.255.255.000
Save HOST settings to smart card? [Y/N]: N <Return>
After completing the procedure, reset the HSM by pressing the RESET button on the front panel. The new values do not take effect until this has been done.
To read the current configuration, use command QH:
Online> QH <Return>
Message header length: 04
Protocol: Ethernet
Character format: ASCII
IP address: 128.100.003.001
Well-Known-Port address: 01500
Transport: UDP and TCP, 6 connections
TCP keep_alive value: 120
Default gateway address: 128.100.003.005
Subnet mask: 255.255.255.000